$(document).ready(
	function() {
		url = document.location.pathname;
		url = url.replace(erpconfig.TOTAL_STOCK_COMPONENTS_OLD, erpconfig.TOTAL_STOCK_COMPONENTS_NEW);
		var newLabel = $('<h3>Total: <span id="total"></span></h3>');
		$(".object-tools").before(newLabel);
		$("#total").load(url);
	}
);

